The data and code in this zip file may be used for non-commercial purposes free of charge. All tables and figures in the paper can be reproduced from this package.
Please reference the paper, "The Effect of Political Frictions on the Pricing and Supply of Insurance" for further construction details and proper use. Please email the author Weiling Liu (w.liu@northeastern.edu) if you have any issues with the data or code.

To replicate the main results of the paper, please run the master code file "master.do" in stata from within the code folder. This will generate most of the tables and figures in main paper, deposit them into the appropriate folder "Images" or "Tables", as well as the results in Appendix A.

********************************
Please refer to the following if you want a specific table or analysis.
The index below will show you how to find/run code specific to a Table or Figure in the paper 

************* TABLES ***********
//Table 1
*Table 1a
do "matched_sample_analysis.do"
*Table 1b
do "insurer_state_analysis.do"
*Table 1c
do "dropout_analysis.do"
*Table 1d
do "dropout_analysis.do"

//Table 2-3: summaries on application data
do "matched_sample_analysis.do"	

//Table 4-8: all analyses with matched application data
do "matched_sample_analysis.do"

//Table 9
do "insurer_state_analysis.do"

//Table 10
do "competition_analysis.do"

//Tables 11-12
do "dropout_analysis.do"


************* FIGURES ************
//Figure 1
do "insurer_state_analysis.do"

//Figure 2
//data is pulled from "summary_tableau_data.csv" and created in Tableau

//Figure 3
do "matched_sample_analysis.do"		

//Figure 4
*Figure 4a
do "matched_sample_analysis.do"
*Figure 4b
do "insurer_state_analysis.do"
	
//Figure 5
do "cumulative_graphs.do"

//Figure 6
do "dropout_analysis.do"

************* TABLES IN APPENDIX A *********
//Tables A1-A7
do "insurer_state_analysis.do"